 $(function(){ 
	 /*
	  * 合并单元格
	  */
     mergeRows();  
});   


/**
 * 合并单元格
 */
function mergeRows() {  
          
       $(".table").rowspan(2); 
       $(".table").rowspan(3);  
       $(".table").rowspan(4);  
       $(".table").rowspan(5); 
}

/**
 * 删除订单
 */
function deleteOrder(oid){
	layer.confirm('确定删除此订单？',function(index){
		location=$("#basePath").val()+"order/deleteod.html?oid="+oid;
		layer.msg('已删除!',{icon:1,time:1000});
	});
}

/**
 * 取消订单
 */
function cancelOrder(oid){
	layer.confirm('确定取消此订单？',function(index){
		location=$("#basePath").val()+"order/cancelod.html?oid="+oid;
		layer.msg('已取消!',{icon:1,time:1000});
	});
}

function doBack() {
	location.href="http://localhost:8080/bookstore/book/list2.html";
}       